//
//  chibiViewController.m
//  gpos_app
//
//  Created by apple on 2018/8/19.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "chibiViewController.h"
#import "Masonry.h"

@interface chibiViewController ()

@end

@implementation chibiViewController

- (void)viewDidLoad {
    
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    UIImageView * chibiImageView = [[UIImageView alloc] init];
    chibiImageView.image = [UIImage imageNamed:@"icon_zwmingxi"];
    [self.view addSubview:chibiImageView];
    UILabel * wumingxiLabel = [[UILabel alloc] init];
    wumingxiLabel.textColor = [UIColor grayColor];
    wumingxiLabel.font = [UIFont systemFontOfSize:15];
    wumingxiLabel.text = @"暂无明细";
    [self.view addSubview:wumingxiLabel];
    [chibiImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
//        make.centerY.equalTo(self.view);
        make.top.equalTo(self.view).with.offset(self.view.bounds.size.height/3.5);
    }];
    
    [wumingxiLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
        //        make.centerY.equalTo(self.view);
        make.top.equalTo(chibiImageView.mas_bottom).with.offset(10);
    }];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
